--	solution "dqclient"

	project "dqclient2"
	configurations { "Release", "Debug", "Release_UDLL", "Debug_UDLL" }

		targetname  "dqclient2"
		language    "C++"
		flags       { "No64BitChecks", "ExtraWarnings" }
		kind    "WindowedApp"

		includedirs
		{
		   "../dqclient2/**"
		}
		files
		{
                                   "../dqclient2/**.*"
		}

		configuration "Debug"
			targetname  "dqclient"
			targetdir   "../bin/Debug"
			objdir 		"../_out/debug"
		            defines     {"_DEBUG","_CRT_SECURE_NO_DEPRECATE","WIN32","_WINDOWS"} defines{"_AFXDLL"}
			links   { "user32" ,"kernel32", "gdi32","winmm"}
			flags       { "Symbols","WinMain"}

		configuration "Debug_UDLL"
			targetname  "dqclient"
			targetdir   "../bin/Debug"
			objdir 		"../_out/debug"
		            defines     {"_DEBUG","_CRT_SECURE_NO_DEPRECATE","WIN32","_WINDOWS"} defines{"_AFXDLL"}
			links   { "user32" ,"kernel32", "gdi32","winmm"}
			flags       { "Symbols","WinMain"}

		configuration "Release"
			targetname  "dqclient"
			targetdir   "../bin/Release"
			objdir 		"../_out/Release"
			defines     {"NDEBUG","_CRT_SECURE_NO_DEPRECATE","WIN32","_WINDOWS"} defines{"_AFXDLL"}
			links   { "user32" ,"kernel32", "gdi32","winmm"}
			flags       { "OptimizeSize","WinMain"}
			
		configuration "Release_UDLL"
			targetname  "dqclient"
			targetdir   "../bin/Release"
			objdir 		"../_out/Release"
			defines     {"NDEBUG","_CRT_SECURE_NO_DEPRECATE","WIN32","_WINDOWS"} defines{"_AFXDLL"}
			links   { "user32" ,"kernel32", "gdi32","winmm"}
			flags       { "OptimizeSize","WinMain"}						
			
-----------------------------------------------------------------------------------	
	if _ACTION == "clean" then
		os.rmdir("../bin")
		os.rmdir("../_out")
	end
